package com.jx.dao.content;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jx.pojo.entity.content.Article;
import com.jx.pojo.po.content.ItemPO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 文章
 */
@Mapper
public interface ArticleDao extends BaseMapper<Article> {

    List<ItemPO> getArticleCategoryTopN(@Param("n") Integer n);

}
